package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;


public class PropertyContract {

    @Excel(name = "合同ID" )
    private String contractId;  //合同id

    @Excel(name = "序号" )
    private Integer num;  //序号

    @Excel(name = "部门" )
    private String department;  //合同归属部门

    @Excel(name = "合同编号" )
    private String contractNo;  //合同编号

    @Excel(name = "合同类型(收入/支出)" ,width = 30,readConverterExp = "1=收入,2=支出")
    private String contractType;  //合同类型  1-收入 2-支出

    @Excel(name = "合同内容")
    private String content; //合同内容

    @Excel(name = "合同单位")
    private String company;  //合同单位

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "起始日期yyyy-MM-dd", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;   //合同开始日期

    @Excel(name = "结束日期yyyy-MM-dd", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endTime;    //合同结束日期

    @Excel(name = "合同总价")
    private Double totalPrice;  //合同总价

    @Excel(name = "状态(正常/到期)" ,readConverterExp = "1=正常,2=到期")
    private String status;  //状态  1-正常 2-到期

    @Excel(name = "备注")
    private String remark;

    private Integer fileCount;

    private Date startBeginTime;
    private Date startOverTime;
    private Date endBeginTime;
    private Date endOverTime;

    public Date getStartBeginTime() {
        return startBeginTime;
    }

    public void setStartBeginTime(Date startBeginTime) {
        this.startBeginTime = startBeginTime;
    }

    public Date getStartOverTime() {
        return startOverTime;
    }

    public void setStartOverTime(Date startOverTime) {
        this.startOverTime = startOverTime;
    }

    public Date getEndBeginTime() {
        return endBeginTime;
    }

    public void setEndBeginTime(Date endBeginTime) {
        this.endBeginTime = endBeginTime;
    }

    public Date getEndOverTime() {
        return endOverTime;
    }

    public void setEndOverTime(Date endOverTime) {
        this.endOverTime = endOverTime;
    }

    public Integer getFileCount() {
        return fileCount;
    }

    public void setFileCount(Integer fileCount) {
        this.fileCount = fileCount;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }



    public String getContractId() {
        return contractId;
    }

    public void setContractId(String contractId) {
        this.contractId = contractId;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getContractNo() {
        return contractNo;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo;
    }

    public String getContractType() {
        return contractType;
    }

    public void setContractType(String contractType) {
        this.contractType = contractType;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(Double totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

}
